package org.ethan.pet.mapper;

import org.ethan.basic.mapper.BaseMapper;
import org.ethan.pet.domain.SearchMasterMsg;
import org.springframework.stereotype.Repository;

@Repository
public interface SearchMasterMsgMapper extends BaseMapper<SearchMasterMsg> {

    /**
     * 处理待处理的领养消息，根据pet表的search_master_msg_id找到search_master_msg表的id，找到对应那条数据，设置状态为1
     * @param search_master_msg_id
     */
    void updateStateById(Long search_master_msg_id);

}
